package cn.stylefeng.guns.modular.recy.entity;
/*
 */

import com.baomidou.mybatisplus.extension.activerecord.*;
import java.io.*;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recy_article")
public class Article extends Model<Article> implements Serializable
{
    //alias
    public static final String TABLE_ALIAS = "文章";
    public static final String ALIAS_ID = "编号";
    public static final String ALIAS_TITLE = "标题";
    public static final String ALIAS_CONTENT = "文章内容";
    public static final String ALIAS_TAG_CODE = "唯一识别码";
    public static final String ALIAS_LINK_URL = "链接";
    public static final String ALIAS_IS_SEND = "发送状态";
    public static final String ALIAS_ARTICLE_TYPE = "文章类别";
    public static final String ALIAS_ICON_PATH = "缩略图";
    public static final String ALIAS_SUB_TITLE = "子标题";
    public static final String ALIAS_IMAGE_PATH = "文章照片";

    //date formats
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";



//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
//columns START
    @TableId(value = "id", type = IdType.ID_WORKER)
    private java.lang.Long id;

    @TableField("title")
    private java.lang.String title;

    @TableField("content")
    private java.lang.String content;

    @TableField("tag_code")
    private java.lang.String tagCode;

    @TableField("link_url")
    private java.lang.String linkUrl;

    @TableField("is_send")
    private java.lang.Long isSend;

    @TableField("article_type")
    private java.lang.Long articleType;

    @TableField("icon_path")
    private java.lang.String iconPath;

    @TableField("sub_title")
    private java.lang.String subTitle;

    @TableField("image_path")
    private java.lang.String imagePath;

//columns END







    

}
